package com.treasure.mall.biz.mapstruct.withdraw;

import com.treasure.mall.biz.dto.withdraw.UserBankInfoDTO;
import com.treasure.mall.biz.entity.withdraw.UserBankInfoPO;
import com.treasure.mall.biz.vo.withdraw.UserBankInfoVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author zoul
 * @version 1.0
 * @date 2020/6/16 0:15
 * @Description
 */
@Mapper
public interface UserBankInfoMapStruct {
    UserBankInfoMapStruct INSTANCE = Mappers.getMapper(UserBankInfoMapStruct.class);

    List<UserBankInfoVO> po2vos(List<UserBankInfoPO> po);

    UserBankInfoVO po2vo(UserBankInfoPO po);

    UserBankInfoPO dto2po(UserBankInfoDTO dto);
}
